package com.yan.design.two.establish.s3;

import lombok.Data;

import java.io.Serializable;

/**
 * 三.原型模式
 *      深拷贝
 * @author shengren.yan
 * @create 2022-07-17
 */
@Data
public class Dep implements Serializable,Cloneable {

    private String name;

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

}
